package cn.theten52.demo.patterns.design.behavior.mediation.update3;

/**
 * 协作者
 *
 * @author wangjin
 * @date 2021/4/3
 */
public interface Colleague<T> {
    T getData();

    Colleague<T> setData(T data);

    Mediator<T> getMediator();

    Colleague<T> setMediator(Mediator<T> mediator);

}
